package xx.observer.design;


/**
 * @Classname Subject
 * @Description TODO 抽象主题
 * @Date 2023/7/25 14:35
 * @Created by wangxianlin
 */
public interface Subject {
    void attach(Observer observer);
    void detach(Observer observer);
    void notifyObservers();
}
